import Vue from 'vue'
import router from './router'
import store from "./store"
import api from './request'
import common from './utils/common.js'
import element from 'element-ui'
import particles from 'vue-particles'
import App from './App.vue'
import MainBody from './components/DtMainBody.vue'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/iconfont/iconfont.css'
import './assets/css/style.scss'

Vue.use(element)
Vue.use(particles)
Vue.config.productionTip = false
Vue.prototype.$api = api
Vue.prototype.$common = common

Vue.component('dt-main-body', MainBody) //引用全局组件

new Vue({
	router,
	store,
	render: h => h(App),
}).$mount('#app')
